<!--
 * @Author: taosong
 * @Date: 2022-09-19 16:40:06
 * @LastEditors: taosong
 * @LastEditTime: 2022-10-12 15:46:50
 * @Description: taosongs
-->
<template>
  <mobile-navigation-vue v-if="isMobileTerminal"></mobile-navigation-vue>
  <pc-navigation-vue v-else></pc-navigation-vue>
</template>

<script setup>
import { isMobileTerminal } from '@/utils/flexible'
import mobileNavigationVue from './mobile/index.vue'
import pcNavigationVue from './pc/index.vue'
import { useStore } from 'vuex'

const store = useStore()
// 触发category获取数据
store.dispatch('category/getCategoryData')
</script>
<style lang="scss" scoped></style>
